#include <iostream>
#include "../KCrawler.h"



int main(int argc, char** argv)
{
	std::string baidu = GetHostByName("www.baidu.com");
	std::string qq = GetHostByName("www.qq.com");
	std::string osadmin = GetHostByName("www.osadmin.com");
	std::string host = GetHostByName("127.0.0.1");
	
	std::cout<<"www.baidu.com   --- "<<baidu<<std::endl;
	std::cout<<"www.qq.com      --- "<<qq<<std::endl;
	std::cout<<"www.osadmin.com --- "<<osadmin<<std::endl;
	std::cout<<"127.0.0.1 --- "<<host<<std::endl;
	
	return 0;
}